package com.molichuxing.gateway.bff.user.services;

import java.io.IOException;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.gateway.bff.user.entity.request.create.PictureCreateVo;
import com.molichuxing.gateway.bff.user.entity.request.create.SmsCreateVo;

/**
 * 短信服务接口
 * @author liyg
 * 2019-09-17
 *
 */
public interface SmsBffService extends RootService {

	/**
	 * 获取验证码
	 * @param createVo
	 * @return
	 */
	Boolean createSms(SmsCreateVo createVo);
	
	/**
	 * 获取图形验证码
	 * @param createVo
	 * @return
	 * @throws IOException 
	 */
	String createPictureCode(PictureCreateVo createVo) throws IOException;
}
